package dayOOP0718;

public class SeasonTest2 {
    public static void main(String[] args) {
        Season s=Season.AUTUMN;
        switch (s){
            case SPRING: System.out.println("现在是春天");break;
            case SUMMER: System.out.println("现在是夏天");break;
            case AUTUMN: System.out.println("现在是秋天");break;
            default: System.out.println("现在是冬天");
        }

        String season="春天";
        switch (season){
            case "春天": System.out.println("现在是春天");break;
            case "夏天": System.out.println("现在是夏天");break;
            case "秋天": System.out.println("现在是秋天");break;
            default: System.out.println("现在是冬天");
        }
    }
}


